<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class ShopAttrValModel extends Model
{
    //定义一个表名
    protected $table = 'shop_attr_val';
    //定义主键
    protected $primaryKey = 'id';

    static function getOneKeyAllValList($kid){
		$values = ShopAttrValModel::where("attr_key_id",$kid)
			->where("is_del",1)
			->get();

		return $values;
	}

}
